<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:p="http://primefaces.prime.com.tr/ui"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets">

<h:head>

	<title>SoftME-Trade</title>

	<script language="JavaScript" type="text/javascript" src="js/ui.js"></script>
	<link type="text/css" rel="stylesheet"
		href="#{request.contextPath}/themes/trade/skin.css" />

	<style type="text/css">
.ui-widget,.ui-widget .ui-widget {
	font-size: 11px !important;
}
</style>

</h:head>

<h:body>

	<h:form prependId="false">

		<p:dialog header="SoftME Trading" modal="true" closable="false"
			position="center" widgetVar="modalLogin" minWidth="300" width="500"
			showEffect="slide" draggable="true" resizable="false" visible="true" height="200">

			<center>

				<p:messages id="mensagens" showDetail="true" showSummary="false" />
				<div id="loginModal" style="width: 100%; height: 100%;">
					<div style="float: left; height: 100; width: 50%">
						<img id="logo"
							style="height: 70px; padding: 50px 0px 0px 20px;"
							src="#{request.contextPath}/img/GLB-Logo-2011.png"
							alt="Globalize" />
					</div>
					<div style="float: right; height: 100; width: 50%; padding-top: 50px;">

						<h:panelGrid columns="2">

							<h:outputLabel value="Login" />
							<h:inputText id="j_username" size="15" />

							<h:outputLabel value="Senha" />
							<h:inputSecret id="j_password" size="15" />

						</h:panelGrid>

					</div>
				</div>

				<br />

				<h:commandButton value="Entrar" action="#{loginController.logar}" />

			</center>

		</p:dialog>

	</h:form>

</h:body>

</html>